/**
 * ProjectName:  mall-service
 * FileName:  AUser.java
 * PackageName:  com.cyou.mall.entity
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.dao;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.blx.entity.AUser;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName:  AUserDao. <br/>
 * Description:  AUserDao <br/>
 * @author wangwl
 * 2013-3-4 下午8:50:37 <br/>
 * @version 1.0
 */
@Component
public class AUserDao extends BaseDao<AUser> {

	/**
	 * 保存AUser实体 <br/>
	 * @param aUser
	 * @author wangwl
	 * 2013-3-4 下午9:08:04
	 */
	public void saveAUser(AUser aUser) {
		this.save("saveAUser", aUser);
	}
	/**
	 * 更新AUser实体<br/>
	 * @param aUser
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updateAUser(AUser aUser) {
		this.update("updateAUser", aUser);
	}
	/**
	 * 删除AUser实体 <br/>
	 * @param aUserId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deleteAUserById(Integer aUserId) {
		this.delete("deleteAUserById", aUserId);
	}
	/**
	 * 根据id获取AUser实体 <br/>
	 * @param aUserId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public AUser getAUserById(Integer aUserId) {
		return this.get("getById", aUserId);
	}
	/**
	 * 分页查询AUser <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<AUser> findPageAUserAll(int pageNumber, int pageSize) {
		return this.findPage("findPageAll", pageNumber, pageSize);
	}
	public AUser getAUserEntity(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return null;
	}
}



